serial: 16550: Add Ingenic JZ4780 support
authorMarek Vasut <[email protected]>
Thu, 1 Dec 2016 01:06:31 +0000 (02:06 +0100)
committerTom Rini <[email protected]>
Mon, 19 Dec 2016 17:26:37 +0000 (12:26 -0500)
commit0b060eefd951fc111ecb77c7b1932b158e6a4f2c
treee021c5358869fb75c9f6c863e401fc276fdbb6bb
parent79fd9281880974f076c5b4b354b57faa6e0cc146
serial: 16550: Add Ingenic JZ4780 support

Add compatibility string for the Ingenic JZ4780 SoC, the necessary
UART enable bit into FCR and register shift. Neither are encoded
in the DTS coming from Linux, so we need to support it this way.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Paul Burton <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/serial/ns16550.c
include/ns16550.h